FROM java:8
ADD elastic-job-dynamic-lite.jar elastic-job-dynamic-lite.jar
EXPOSE 8080
ENTRYPOINT ["java", "-jar", "elastic-job-dynamic-lite.jar","--spring.profiles.active=docker"]